package com.whj.homework;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@MapperScan("com.whj.homework.mapper")
@SpringBootApplication
@EnableRedisHttpSession
public class HomeworkApplication extends SpringBootServletInitializer{

    public static void main(String[] args) {
        SpringApplication.run(HomeworkApplication.class, args);
    }

}
